package com.njlime.cms.entities;

import com.njlime.core.base.entities.BaseEntity;
import com.njlime.core.base.entities.BaseEntityPlus;
import com.njlime.core.web.validation.RegexType;
import com.njlime.core.web.validation.annotation.Validate;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 频道实体类
 *
 * @since 
 */
@Entity
@Table(name = "t_channel")
public class Channel extends BaseEntity {

    public static final int  CHANNEL_TYPE_0 = 0;

    public static final int  CHANNEL_SHORT_1 = 1;
    public static final int CHANNEL_SHORT_2 = 2;
    public static final int CHANNEL_SHORT_3 = 3;
    public static final int CHANNEL_SHORT_4 =4;

	// 频道类型 0不显示 1 热点 2 贴吧 3直播 4课程
    private Integer channel_type;
	// 频道名称
    private String channel_name;
	// 已选中频道图片url
    private String channel_img_url;
    // 未选中频道图片url
    private String  uncheck_channel_img_url;
    //选中颜色
    private String check_color;
    //未选中颜色
    private String uncheck_color;
    // 是否有轮播 0 否 1有
    private Integer is_banner;
    // 是否显示阅读数 0否 1是
    private Integer is_read;
    // 是否显示标签 0否 1是
    private Integer is_label;
   // 频道排序号 从1开始
    private Integer channel_short;
    // 单位id
    private Integer unit_id;

    // 分享标题
    private String share_title;
    // 分享描述
    private String share_desc;

    //是否显示 0 否 1是
    private Integer show_channel;
    private Integer creator; //创建人ID
    private Date create_time; //创建时间
    private Integer updater; //更新人ID
    private Date update_time; //更新时间

    public Integer getChannel_type() {
        return channel_type;
    }

    public void setChannel_type(Integer channel_type) {
        this.channel_type = channel_type;
    }

    public String getChannel_name() {
        return channel_name;
    }

    public void setChannel_name(String channel_name) {
        this.channel_name = channel_name;
    }

    public String getChannel_img_url() {
        return channel_img_url;
    }

    public void setChannel_img_url(String channel_img_url) {
        this.channel_img_url = channel_img_url;
    }

    public Integer getIs_banner() {
        return is_banner;
    }

    public void setIs_banner(Integer is_banner) {
        this.is_banner = is_banner;
    }

    public Integer getIs_read() {
        return is_read;
    }

    public void setIs_read(Integer is_read) {
        this.is_read = is_read;
    }

    public Integer getIs_label() {
        return is_label;
    }

    public void setIs_label(Integer is_label) {
        this.is_label = is_label;
    }

    public Integer getChannel_short() {
        return channel_short;
    }

    public void setChannel_short(Integer channel_short) {
        this.channel_short = channel_short;
    }

    public Integer getUnit_id() {
        return unit_id;
    }

    public void setUnit_id(Integer unit_id) {
        this.unit_id = unit_id;
    }

    public String getShare_title() {
        return share_title;
    }

    public void setShare_title(String share_title) {
        this.share_title = share_title;
    }

    public String getShare_desc() {
        return share_desc;
    }

    public void setShare_desc(String share_desc) {
        this.share_desc = share_desc;
    }

    public Integer getShow_channel() {
        return show_channel;
    }

    public void setShow_channel(Integer show_channel) {
        this.show_channel = show_channel;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Integer getUpdater() {
        return updater;
    }

    public void setUpdater(Integer updater) {
        this.updater = updater;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public String getUncheck_channel_img_url() {
        return uncheck_channel_img_url;
    }

    public void setUncheck_channel_img_url(String uncheck_channel_img_url) {
        this.uncheck_channel_img_url = uncheck_channel_img_url;
    }

    public String getCheck_color() {
        return check_color;
    }

    public void setCheck_color(String check_color) {
        this.check_color = check_color;
    }

    public String getUncheck_color() {
        return uncheck_color;
    }

    public void setUncheck_color(String uncheck_color) {
        this.uncheck_color = uncheck_color;
    }
}